env = Environment()
libs = [ 'GL',
         'GLU',
         'SDL_image' ]
flags = [ '-Wall',
          '-g' ]

sources = [ 'GLee.c',
            'PathInfo.cpp',
            'util.cpp',
            'image.cpp',
            'OBJ.cpp',
            'MTL.cpp',
            'main.cpp' ]

libPath = [ 'COLLADA/lib' ]
incDirs = [ 'COLLADA/include' ]

env.ParseConfig('sdl-config --cflags --libs')
env.Append(LIBS=libs)
env.Append(CPPFLAGS=flags)
env.Append(LIBPATH=libPath)
env.Append(CPPPATH=incDirs)

env.Program('obj-test', sources)

